LeetCode - 371. Sum of Two Integers

문제 링크

problem

Java 풀이

class Solution {
    public int getSum(int a, int b) {
        return a+b;
    }
}

Javascript 풀이

var getSum = function(a, b) {
    return a+b;
};